package com.shuihu.springcloud.controller;

import com.shuihu.springcloud.common.BaseResult;
import com.shuihu.springcloud.service.AdminService;
import jdk.nashorn.internal.runtime.logging.Logger;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author shuihu
 * @create 2020-05-31 17:03
 */
@RestController
@Logger
@RequestMapping("/admin")
public class AdminController {


    @Resource
    private AdminService adminService;


    @GetMapping("/login")
    public BaseResult login(String loginCode, String plantPassword ){

        return new BaseResult(200,"success");
    }

    public BaseResult checkLogin(){
        return null;
    }
}
